package com.qf.bean;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * JoJoker
 * 李杨帆2019/12/9 16:19
 * Field    Type         Collation        Null    Key     Default  Extra           Privileges                       Comment
 * -------  -----------  ---------------  ------  ------  -------  --------------  -------------------------------  ---------
 * rzid     int(11)      (NULL)           NO      MUL     (NULL)   auto_increment  select,insert,update,references
 * jgname   varchar(30)  utf8_general_ci  YES             (NULL)                   select,insert,update,references
 * jglx     varchar(30)  utf8_general_ci  YES             (NULL)                   select,insert,update,references
 * rzssr    varchar(30)  utf8_general_ci  YES             (NULL)                   select,insert,update,references
 * fzr      varchar(30)  utf8_general_ci  YES             (NULL)                   select,insert,update,references
 * lxrid    int(11)      (NULL)           YES             (NULL)                   select,insert,update,references
 * rzdate   date         (NULL)           YES             (NULL)                   select,insert,update,references
 * rzdj     varchar(30)  utf8_general_ci  YES             (NULL)                   select,insert,update,references
 * rzstate  int(11)      (NULL)           YES             (NULL)                   select,insert,update,references
 */
public class Rz {
    private Integer rzid;
    private String  jgname;
    private String  jglx;
    private String  rzssr;
    private String  fzr;
    private Integer lxrid;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date    rzdate;
    private String  rzdj;
    private Integer rzstate;//1开启0删除
    private String  rznr;
    private Lxr     lxr;


    public Rz() {
    }

    public Rz(Integer rzid, String jgname, String jglx, String rzssr, String fzr, Integer lxrid, Date rzdate, String rzdj, Integer rzstate, String rznr) {
        this.rzid = rzid;
        this.jgname = jgname;
        this.jglx = jglx;
        this.rzssr = rzssr;
        this.fzr = fzr;
        this.lxrid = lxrid;
        this.rzdate = rzdate;
        this.rzdj = rzdj;
        this.rzstate = rzstate;
        this.rznr = rznr;
    }

    @Override
    public String toString() {
        return "Rz{" +
                "rzid=" + rzid +
                ", jgname='" + jgname + '\'' +
                ", jglx='" + jglx + '\'' +
                ", rzssr='" + rzssr + '\'' +
                ", fzr='" + fzr + '\'' +
                ", lxrid=" + lxrid +
                ", rzdate=" + rzdate +
                ", rzdj='" + rzdj + '\'' +
                ", rzstate=" + rzstate +
                ", rznr='" + rznr + '\'' +
                ", lxr=" + lxr +
                '}';
    }

    public String getRznr() {
        return rznr;
    }

    public void setRznr(String rznr) {
        this.rznr = rznr;
    }

    public Integer getRzid() {
        return rzid;
    }

    public void setRzid(Integer rzid) {
        this.rzid = rzid;
    }

    public String getJgname() {
        return jgname;
    }

    public void setJgname(String jgname) {
        this.jgname = jgname;
    }

    public String getJglx() {
        return jglx;
    }

    public void setJglx(String jglx) {
        this.jglx = jglx;
    }

    public String getRzssr() {
        return rzssr;
    }

    public void setRzssr(String rzssr) {
        this.rzssr = rzssr;
    }

    public String getFzr() {
        return fzr;
    }

    public void setFzr(String fzr) {
        this.fzr = fzr;
    }

    public Integer getLxrid() {
        return lxrid;
    }

    public void setLxrid(Integer lxrid) {
        this.lxrid = lxrid;
    }

    public Date getRzdate() {
        return rzdate;
    }

    public void setRzdate(Date rzdate) {
        this.rzdate = rzdate;
    }

    public String getRzdj() {
        return rzdj;
    }

    public void setRzdj(String rzdj) {
        this.rzdj = rzdj;
    }

    public Integer getRzstate() {
        return rzstate;
    }

    public void setRzstate(Integer rzstate) {
        this.rzstate = rzstate;
    }

    public Lxr getLxr() {
        return lxr;
    }

    public void setLxr(Lxr lxr) {
        this.lxr = lxr;
    }


}
